package com.suyang.syt.model.dto;

import com.suyang.syt.model.Permission;

/**
 * @author administrator
 * @date 2016-2-24 10:56:42
 * @description
 */
@SuppressWarnings("serial")
public class PermissionDTO extends Permission {

	public PermissionDTO() {
	}

	public PermissionDTO(Permission permission) {
		this.setId(permission.getId());
		this.setName(permission.getName());
		this.setPermission(permission.getPermission());
		this.setDescriprion(permission.getDescriprion());
		this.setIsDelete(permission.getIsDelete());
		this.setModifyName(permission.getModifyName());
		this.setModifyTime(permission.getModifyTime());
		this.setStatus(permission.getStatus());
		this.setOrderIndex(permission.getOrderIndex());
		this.setJianpin(permission.getJianpin());
		this.setQuanpin(permission.getQuanpin());
		this.setCreateName(permission.getCreateName());
		this.setCreateTime(permission.getCreateTime());
	}

}
